package com.yt.order.api.interfaces;

import com.yt.core.service.GenericService;
import com.yt.order.api.model.OrderInfo;

import java.util.List;

public interface OrderInfoService extends GenericService<OrderInfo, Long> {

    OrderInfo getOrderByOrderNo(String orderNo);

    List<OrderInfo> getGroupOrderList(Long groupId);

	void batchSave(List<OrderInfo> list);

    OrderInfo getByCardNumber(String cardNumber);

    OrderInfo getByCardNumberAndPwd(String cardNumber, String password);

    void updateReserveStatus(Long id, String reserveStatus);

    List<OrderInfo> getByIdentifyAndName(String identify, String endUser);
}